package com.bdqn.web;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Work4Servlet extends HttpServlet {

	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		String count=req.getParameter("count");
		String jian =req.getParameter("jian");
		int sun=Integer.parseInt(count)+Integer.parseInt(jian);
		PrintWriter out=resp.getWriter();
		out.print(sun);
	}

}
